<?php

namespace app\admin\controller\diy;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="diy管理")
 */
class Diy extends AdminController
{

    use \app\admin\traits\Curd;


    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \app\common\model\DiyHome();

        $this->assign('getStatusList', $this->model->getStatusList());

    }


    public function index()
    {
        $id = $this->request->param('id',0,'intval');
        return $this->fetch('index',[

        ]);
    }

}